package com.kalix.ksh.proint.entities;

import com.kalix.framework.core.api.persistence.PersistentEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Wanghw on 2018/10/10.
 *楼宇
 */
@Entity
@Table(name = "ksh_building")
public class BuildingBean extends PersistentEntity {
    /**
     * 将名为html的字段类型改变为text
     * 是为了存储较长的字符串
     */
    @Column(name = "html", columnDefinition = "text")
    private String html;

    public String getHtml() {
        return html;
    }

    public void setHtml(String html) {
        this.html = html;
    }
}
